Skip to content

adds methods to parse params#45

Merged
xentek merged 1 commit intomasterfrom
parse-params
Mar 15, 2017
Merged

adds methods to parse params#45
xentek merged 1 commit intomasterfrom
parse-params

Conversation

@xentek
Copy link
Copy Markdown
Member

@xentek xentek commented Mar 15, 2017

  • currently focuses on GET requests (punting on deseralizing bodies
    until we have Bind Params to a given Endpoint #44 figured out, though BodyParams was added as a stand
    in)
  • param source precedence was implemented, with each subsequent source
    overwriting keys in ones proceeding it: query, body, path
  • params are parsed into url.Values, for consistency. Custom Types for Params #43 will go
    further and cast this into the appropriate types.
  • currently, nothing is calling Params(), the main entry point for
    parsing params from all sources -- this will change as all of the
    tickets that implment Params #3 come together

fixes #41

- currently focuses on `GET` requests (punting on deseralizing bodies
until we have #44 figured out, though `BodyParams` was added as a stand
in)
- param source precedence was implemented, with each subsequent source
overwriting keys in ones proceeding it: `query`,` body`, `path`
- params are parsed into `url.Values`, for consistency. #43 will go
further and cast this into the appropriate types.
- currently, nothing is calling `Params()`, the main entry point for
parsing params from all sources -- this will change as all of the
tickets that implment #3 come together

fixes #41
@xentek xentek added this to the v0.0.5 milestone Mar 15, 2017
@xentek xentek merged commit 229853c into master Mar 15, 2017
@xentek xentek deleted the parse-params branch March 15, 2017 21:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Parsing Params

1 participant